<!--#include file="..\CheckSession.inc"-->
<%
intstt=Request("intstt")
%>
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel=stylesheet href="../CSS/ConveaStyle.css" type="text/css">
<style>
.clsB_Normal
{
	BACKGROUND-COLOR: transparent;		
	CURSOR: hand;
}
.clsB_Over
{
	BACKGROUND-COLOR: #B6BDD2;		
	CURSOR: hand;
	BORDER-BOTTOM: #0A246A 1px solid;
	BORDER-RIGHT: #0A246A 1px solid;
	BORDER-TOP: #0A246A 1px solid;
	BORDER-LEFT: #0A246A 1px solid;
}
.clsB_Selected
{
	BACKGROUND-COLOR: #B6BDD2;		
	CURSOR: hand;
	BORDER-BOTTOM: #0A246A 1px solid;
	BORDER-RIGHT: #0A246A 1px solid;
	BORDER-TOP: #0A246A 1px solid;
	BORDER-LEFT: #0A246A 1px solid;
}
</style>
<!--#include file=..\funTab.inc-->
<script language="javascript">
function bOut(sRow)
{	
	var r1=document.getElementById(sRow);	
	if (r1.className!='clsB_Selected');
	{	
		r1.className="clsB_Normal";	
	}
}
function bOver(sRow)
{
	var r1=document.getElementById(sRow);		
	if (r1.className!='clsB_Selected');
	{
		r1.className="clsB_Over";
	}
}
function itemClick(strmadonvi){
	parent.listcanbo.location.replace("listcanbo.asp?intstt=<%=intstt%>&bmadonvi="+strmadonvi);
}
</script>
</head>
<body style="cursor:default; background-color:white" marginwidth="0" marginheight="0" leftmargin="0" topmargin="0">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
	<%
		stt=1
		sSQl="select * from donvi order by madonvi"
		Set Rec=server.CreateObject("ADODB.Recordset")
			Rec.CursorType=3
			Rec.CacheSize=5
			Rec.Open sSQL,Conn
			do while not Rec.EOF
				bTab=funTab(Rec("madonvi"))
				if Rec("madonvi")="000000" then
				%>
				<tr>
					<td id="U<%=stt%>" onmouseout="javascript:bOut('U<%=stt%>');" onmouseover="javascript:bOver('U<%=stt%>');" onclick="javascript:itemClick('<%=Rec("madonvi")%>')">&nbsp;<b><%=Rec("tendonvi")%></b></td>
				</tr>
				<%
				else
				%>
				<tr>
					<td id="U<%=stt%>" onmouseout="javascript:bOut('U<%=stt%>');" onmouseover="javascript:bOver('U<%=stt%>');" onclick="javascript:itemClick('<%=Rec("madonvi")%>')">&nbsp;<%=bTab%><%=Rec("tendonvi")%></td>
				</tr>
				<%
				end if
				Rec.MoveNext
				stt=stt+1
			loop
		Rec.close
		Set Rec=nothing
	%>
</table>
</body>
</html>